package LinkTabels

import (
	"gorm_study/Table"
	"gorm_study/libs"
)

func Migrate() {

	// [Has one]
	_ = libs.DB.Debug().AutoMigrate(&Table.UserHomeType{}, &Table.User{})

	// [Belongs to]
	//_ = libs.DB.Debug().AutoMigrate(&Table.User{}, &Table.UserHomeType{})
}
